package com.mrent.service;

import java.util.List;

import com.mrent.entity.AdminPayment;
import com.mrent.entity.ManagerPayment;

public interface ManagerPaymentService {
	
	/**
	 * 保存店主支付方式.
	 * 
	 * @param member
	 */
	public void savePayment(ManagerPayment managerPayment);
	
	/**
	 * 修改店主支付方式.
	 * 
	 * @param member
	 */
	public void updatePayment(ManagerPayment managerPayment);
	
	
	/**
	 * 获取店主支付方式.
	 * 
	 * @param memberId
	 * @return
	 */
	public ManagerPayment getPayment(Long id);
	
	/**
	 * 根据店主名称+支付id取店主支付方式.
	 * @param manager
	 * @param payId
	 * @return
	 */
	public ManagerPayment getByPayIdAndManager(String manager,Long payId);
	
	/**
	 * 店主删除支付方式.
	 * 
	 * @param id
	 */
	public void delPayment(Long id);
	
	/**
	 * 店主支付方式列表.
	 * 
	 * @param page
	 * @return
	 */
	public List<ManagerPayment> listPayment(String manager,Page page);

	/**
	 * 根据payId列表店主支付方式.
	 * 
	 * @param payId
	 * @return
	 */
	public List<ManagerPayment> listByPayId(Long payId);
}
